/*
 * LogMessage.h
 *
 *  Created on: Mar 14, 2013
 *      Author: nick
 */

#ifndef MESSAGE_H_
#define MESSAGE_H_

#include <ostream>
#include "../h/Levels.h"

namespace Logging {
	class LogMessage {
	private:
		std::string text;
		char* creationTime;
		Level severityLevel;
	public:
		LogMessage(const std::string & text, const Level severity);
		Level getSeverityLevel() const;
		void setSeverityLevel(const Level severityLevel);
		const std::string & getText() const;
		void setText(const std::string & text);
		const char* getCreationTime() const;
	};

	std::ostream & operator<<(std::ostream & out, const LogMessage & message);
}

#endif /* MESSAGE_H_ */
